home *** CD-ROM | disk | FTP | other *** search
/ CD School House 9 / CD School House 9.0 - Wayzata Technology (1994).iso / pc / dos / math / mafia2a / mem.hlp < prev    next >
Text File  |  1992-10-01  |  2KB  |  45 lines

  1.  ╔═══════════════════════════════════════════╗   (C) Copyright 1986-1990
  2.  ║  MEM.HLP - MEMFILE.DAT file manipulations ║          Zvi Shippony
  3.  ╚═══════════════════════════════════════════╝         (818) 990-0134
  4.  
  5.  Option 'M':
  6.  ------------
  7.     The MEMFILE.DAT file is the media through which the various
  8.  programs in the MAFIA package communicate among themselves. This file
  9.  contain various  results stored in it by the user's request. Each of the
  10.  record in the file could be access by any expression containing a
  11.  'variable' name: MEM(). Thus MEM(1) will be the value stored in the first
  12.  record, MEM(5) will be the value stored in the 5th record etc.
  13.  
  14.    When choosing option 'M', a new screen appear with 4 new options:
  15.  
  16.      0 - Initialize MEMFILE.DAT file
  17.      1 - List MEMFILE.DAT file content
  18.      2 - Edit MEMFILE.DAT file content
  19.      3 - Compress MEMFILE.DAT content (delete all zeros)
  20.  
  21.    Option 0 - Empties the MEMFILE.DAT file.
  22.    Option 1 & 2 list & edit the content.
  23.    Option 3 - Compress the file by deleting all records with value = 0.0
  24. $$$
  25.    EXAMPLE: Suppose you want to find out the area bounded by the function:
  26.    y=exp(-x) and the function y=(x-2.0)**2. Let F = exp(-x)-((x-2.0)**2).
  27.  
  28.    The first step is to solve for the roots of F = 0.0 . After you have these,
  29.    you can integrate the function F between x1 & x2.
  30.  
  31.    Suggested strategy:
  32.  
  33.    Step 1. Plot the function exp(-x)-((x-2.0)**2). Get a good guess where
  34.            the roots (x1 & x2) are.
  35.  
  36.    Step 2. Solve F = 0.0 twice, each time constrain the solution to be
  37.            around only one of the roots (x1 or x2). After each action, the
  38.            program will ask you if you want to store the result in memory,
  39.            say 'y' and remember what memory cell was assign to that
  40.            particular solution. (Say:  MEM(1) for x1 and MEM(2) for x2).
  41.  
  42.    Step 3. Integrate  F  between the limits: MEM(1),MEM(2).
  43.  
  44.                             That's all folks ...
  45.